package com.qfedu.meidijiaju.service.impl;

import com.qfedu.meidijiaju.entity.Sleep;
import com.qfedu.meidijiaju.mapper.SleepMapper;
import com.qfedu.meidijiaju.service.SleepService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SleepServiceImpl implements SleepService {
    @Autowired
    private SleepMapper sleepMapper;


    @Override
    public List<Sleep> allSleep() {
        return sleepMapper.allSleep();
    }
}